/*
 * @Autor: 黄旗
 * @Date: 2020-07-03 17:02:29
 */
export default {
    data () {
        return {
            tabList: [
                {
                    label: '待回访',
                    name: 'need'
                },
                {
                    label: '已回访',
                    name: 'already'
                },
                {
                    label: '过期未回访',
                    name: 'overdue'
                }
            ]
        }
    },
    methods: {
        handleChangeTab ({ name }) {
            if (name !== this.tabActiveKey) this.$router.push(`/home/returnVisit/list/list-${name}`);
        }
    }
}
